package com.ugoodtech.mdcc.core.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("查询次数使用的视图")
@Entity
@Table(name = "vstarcode_num")
public class VStarCodeNum implements Serializable {

    @ApiModelProperty("客户代码")
    private String answer;

    @Id
    @ApiModelProperty("次数")
    private Integer num;


    @Column(name = "answer_other_id")
    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    @Column(name = "num")
    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }
}
